package com.lapelittle.framework.model;

import io.swagger.v3.oas.annotations.media.Schema;

@Schema(description = "登录请求")
public class LoginRequest {
    @Schema(description = "用户名/手机号/邮箱")
    private String username;    // 用户名/手机号/邮箱
    @Schema(description = "密码")
    private String password;    // 密码
    @Schema(description = "验证码")
    private String code;        // 验证码
    @Schema(description = "登录类型(1:用户名密码,2:手机号密码,3:邮箱密码,4:邮箱验证码)")
    private Integer loginType;  // 登录类型(1:用户名密码,2:手机号密码,3:邮箱密码,4:邮箱验证码)
    
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public String getPassword() {
        return password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    public String getCode() {
        return code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
    
    public Integer getLoginType() {
        return loginType;
    }
    
    public void setLoginType(Integer loginType) {
        this.loginType = loginType;
    }
} 